package src.main.StructuralPatterns.Adapter.Class;

public class LegacyDatabase {
    public void legacyConnect(String host, int port) {
        System.out.println("Legacy连接: " + host + ":" + port);
    }

    public void legacyExecute(String sql) {
        System.out.println("执行旧语句：" + sql);
    }
}
